import { InjectionKey } from "vue";
import { createStore, Store } from "vuex";
import { state } from "./state";
import mutations from "./mutations";

export const store = createStore<H5App.StoreState>({ state, mutations });

export const key: InjectionKey<Store<H5App.StoreState>> = Symbol();
